package org.example.facade;

/**
 * @author wangbin
 * @date 2024/4/18
 * @vesion 1.0
 */
public class HomeTheaterFacade {

    private Popcorn popcorn;
    private DvdPlayer dvdPlayer;

    public HomeTheaterFacade() {
        super();
        this.popcorn = popcorn;
        this.dvdPlayer = dvdPlayer;
    }

    public void ready(){
        this.popcorn.on();
    }

    public void down(){
        this.popcorn.off();
        this.dvdPlayer.off();
    }

    public static void main(String[] args) {

    }
}
